package com.caihao.onenote.service;

import com.caihao.onenote.dto.UserDTO;
import com.caihao.onenote.entity.User;

import javax.security.auth.login.AccountLockedException;
import javax.security.auth.login.AccountNotFoundException;

public interface UserService {

    //用户登录接口
    User login(UserDTO userDTO) throws AccountNotFoundException, AccountLockedException;

}
